﻿using ChongJu.ModelManager.Alarm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChongJu.EventManager.Alarm
{
    public static class AlarmEvent
    {
        public static event Action<ModuleEnum, AlarmEnum, string> AlarmEventReport;

        public static void OnAlarmEventReport(ModuleEnum type, AlarmEnum lev, string message)
        {
            AlarmEventReport?.Invoke(type, lev, message);
        }
    }
}
